package com.example.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.w3c.dom.Text;

@Data
public class BookMenu {
    @ExcelProperty("id")
    private Integer id;

    @ExcelIgnore
    private Integer bookId;

    @ExcelProperty("isbn")
    private String isbn;

    @ExcelProperty("name")
    private String name;

    @ExcelIgnore
    private String seriesName;

    @ExcelProperty("price")
    private Double price;

    @ExcelProperty("publisher")
    private String publisher;

    @ExcelIgnore
    private String company;

    @ExcelIgnore
    private String recommend;

    @ExcelProperty("img")
    private String img;

    @ExcelProperty("contentValidity")
    private String contentValidity;

    @ExcelIgnore
    private String deliveryTime;

    @ExcelProperty("publishTime")
    private String publishTime;

    @ExcelProperty("preservation")
    private String preservation;

    @ExcelProperty("askNum")
    private Integer askNum;

    @ExcelProperty("author")
    private String author;

    @ExcelIgnore
    private String authorNationality;

    @ExcelProperty("translator")
    private String translator;

    @ExcelProperty("openBook")
    private String openBook; //开本

    @ExcelProperty("layout")
    private String layout;  //装帧

    @ExcelProperty("edition")
    private String edition; //版次

    @ExcelProperty("chineseImage")
    private String chineseImage; //中图分类

    @ExcelProperty("type")     //这里标签就是数据库的type
    private String type;

    @ExcelIgnore
    private String firstCategory;

    @ExcelIgnore
    private String secondCategory;

    @ExcelIgnore
    private String thirdCategory;

    @ExcelIgnore
    private String fourthCategory;

    @ExcelIgnore
    private String label;
}
